//#include "/usr/local/boost_1_53_0/boost/lambda/lambda.hpp"
#include <boost/lambda/lambda.hpp>
#include <iostream>
#include <iterator>
#include <algorithm>

int main(int argc, char** argv)
{
	using namespace boost::lambda;
	typedef std::istream_iterator<int> in;

	std::for_each(
		in(std::cin), in(), std::cout << (_1 * 3) << " " );
	std::cout << std::endl;
	return 0;
}
